<div class="header">
    <back-Btn></back-Btn>
    办证件
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <div class="list-item list-item-textarea">
            <div class="c9">办证原因:</div>
            <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
        </div>
        <div class="flex list-item" ng-click="showCertificate()">
            <div class="w45 c9">添加办证明细:</div>
            <div class="w55 tr"><span class="icon_add fs20">+</span></div>
        </div>
        <div class="selectinfo">
            <div class="list tablestyle ">
                <div class="list-item" ng-repeat="item in param.dealDetails">
                    <!-- <p class="item-num"><span>{{$index+1}}</span></p> -->
                    <div class="delete_icon icon_del" ng-click="deletedItem($index)">X</div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">证件类型</div>
                        <div class="col-3-4">{{item.cerType}}</div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">人员姓名</div>
                        <div class="col-3-4">{{item.personnels}}</div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>

</div>
<!-- 选择办证明细子项目 -->
<div class="list tablestyle pickceritem" ng-show="showCerPicker">
    <div class="list-item">
        <div class="grid list-content">
            <div class="col-1-4 c9">证件类型</div>
            <div class="col-3-4">
                <select name="sex" id="sexSelect" ng-model="picker.cerType" ng-options="item.value as item.value for item in resiTypeList">
                    <option value="">选择报销类型</option>
                </select>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">人员姓名</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.personnels" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelCertificate()">取消</div>
        <div class="confirm" ng-click="addCertificate()">确定</div>
    </div>
</div>
<sheet-action ng-show="sheetObj.ifshowSheet" sheet-data="sheetObj"></sheet-action>